package com.couldsail.takeaway.service;

import com.couldsail.takeaway.pojo.dto.UserLoginDTO;
import com.couldsail.takeaway.pojo.dto.UserUpdateDTO;
import com.couldsail.takeaway.pojo.entity.User;
import com.couldsail.takeaway.pojo.vo.UserVO;

import java.io.IOException;

public interface UserService {
    /**
     * 微信登录
     * @param userLoginDTO
     * @return
     */
    User wxLogin(UserLoginDTO userLoginDTO) throws IOException, CloneNotSupportedException;

   UserVO getDetail();

    void updateDetail(UserUpdateDTO userUpdateDTO);
}
